<div class=" centre titre2">Commande</div>	

<div class="row centre">
    <div class="col-xs-12 col-sm-4 ">
        <div class="input-group">
            <span class="input-group-addon">Pin n° : {{numPin}}</span>
            <input type="range" class="form-control" min="1" max="13" ng-model="numPin"/>
        </div>
    </div>
    <div class="col-xs-12 col-sm-4 ">
        <p>
            Nombre de clignotements :<br>
            <input type="text" ng-model="nbCligno"/>
        </p>
    </div>

    <div class="col-xs-12 col-sm-4 ">
        <p>
            Durée du clignotement (ms) :<br>
            <input type="text" ng-model="tpsCligno"/>
        </p>
    </div>
</div>

<!--<div class="glyphicon glyphicon-align-justify ">
    <div>-->
<div>
    <button class="center-block btn btn-sm btn-warning"  ng-click="displayList = !displayList">Liste Arduinos</button>
    <div class="well" ng-show="displayList" ng-repeat="arduino in arduinos" >
        <input type="checkbox" ng-model="arduino.checked" ng-checked="arduino.checked">
        <span>{{arduino.ip}}</span>
    </div>
</div>

<button class="center-block btn btn-lg btn-info" ng-click="valider()">Valider</button>
<div class="row centre">


    <!--<div ng-repeat="reponse in reponses">
        Id : {{reponse.data.id}} - Json : {{reponse.data.json}} - Error : {{reponse.data.error}}
    </div>-->
    <ANY ng-switch="indexReponse" ng-model="indexReponse">
        <ANY ng-switch-when="0"></ANY>
        <ANY ng-switch-when="1"><success-callback-directive></success-callback-directive></ANY>
        <ANY ng-switch-when="2"><error-callback-directive info="info"></<error-callback-directive></ANY>
                    <ANY ng-switch-when="3"><warning-callback-directive  ></warning-callback-directive></ANY>
                    <ANY ng-switch-default></ANY>
                    </ANY>
                    <p>{{reponses}}</p>
                    </div>